#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
int main()
{
	ST st;
	STInit(&st);
	int arr[5] = { 1,2,3,4,5 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	for (int i = 0; i < sz; i++)
	{
		STPush(&st, arr[i]);
	}
	int data = STTop(&st);
	printf("%d\n", data);
	STPop(&st);
	data = STTop(&st);
	printf("%d\n", data);
	STPop(&st);
	data = STTop(&st);
	printf("%d\n", data);
	STPop(&st);
	return 0;
}